package com.woniuxy.house;

import com.woniuxy.house.web.WebChat;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.context.ConfigurableApplicationContext;

//@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
@SpringBootApplication
@MapperScan(basePackages = "com.woniuxy.house.mapper")
public class WoniuhouseApplication {

	public static void main(String[] args) {
		ConfigurableApplicationContext applicationContext =   SpringApplication.run(WoniuhouseApplication.class, args);
		//WebChat.setApplicationContext(applicationContext);
		//SpringApplication.run(WoniuhouseApplication.class, args);
	}

}
